﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HiLand.Utility.Entity;
using HiLand.Utility.Data;

namespace DotNET4Study
{
    class HiJSON
    {
        public static void Execute()
        {
            LogicStatusInfo entity = new LogicStatusInfo();
            Console.WriteLine(entity.ToJSON());

            LogicStatusInfoExt entityExt = new LogicStatusInfoExt();
            Console.WriteLine(entityExt.ToJSON());
        }

        public class LogicStatusInfoExt : LogicStatusInfo
        {
            private DateTime dateInfo = DateTimeHelper.Min;
            public DateTime DateInfo
            {
                get { return this.dateInfo; }
                set { this.dateInfo= value; }
            }
        }

       
    }
}
